import { CenoRequest } from "../types/request";

export class TimeoutError extends Error {
    public request: CenoRequest;

    constructor(request: Request) {
        
        super('Request timed out');
        this.name = 'TimeoutError';
        this.request = request;
    }
}